package cn.unknowpupil.init.service.system;


import cn.unknowpupil.init.domain.dto.SysUserOnline;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * Created at 2020/10/23 by w10g <br>
 * Initialize IUserOnlineService ... <br>
 *
 * @author unknowpupil
 * @since 0.0.1
 */

public interface IUserOnlineService {

    /**
     * 获取在线用户
     * @param userName
     * @param ipAdders
     * @return
     */
    IPage<SysUserOnline> getOnline(String userName, String ipAdders);

    /**
     * 清空多段登录用户
     *  @return
     */
    long clean();

}
